﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GmaWebService.Interfaces
{
    public class WebMovie
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string TagLine { get; set; }
        public string Filename { get; set; }
        public string Genre { get; set; }
        public string ParentalRating { get; set; }
        public int Year { get; set; }
        public String CoverThumbPath { get; set; }
        public String BackdropPath { get; set; }

        public WebMovie() { }
        public WebMovie(int id, string title, string tagline, string filename, string genre, string parentalRating, int year, String posterThumbPath)
        {
            this.Id = id;
            this.Title = title;
            this.TagLine = tagline;
            this.Filename = filename;
            this.Genre = genre;
            this.ParentalRating = parentalRating;
            this.Year = year;
            this.CoverThumbPath = posterThumbPath;
        }

        public override string ToString()
        {
            return String.Format("{0}: {1}", Id, Title);
        }
    }
}